#ifndef __WIZ_ALGEBRA_DEGREE_INL__SHANHAOBO_19800429__
#   error only be included in "WizAlgebraDegree.hpp"
#endif /*__WIZ_ALGEBRA_DEGREE_INL__SHANHAOBO_19800429__*/

#include "../WizAlgebraBase.hpp"

#include "./WizAlgebraRadian.hpp"

namespace Wiz
{
    namespace Degree
    {
        ::Wiz::Void::Type Type::FromRadian(::Wiz::Radian::In rad)
        {
            *this = rad.ToDegree();
        }

        ::Wiz::Radian::Type Type::ToRadian() const
        {
            ::Wiz::Radian::Type rad;
            rad.FromReal(this->m_Value * ::Wiz::RadPerDeg);
            return rad;
        }
    } /// end of namespace 
} /// end of namespace Wiz
